import BaseService from './_BaseService'
import axios from 'axios'
import config from '../config'

class MsgGroupsService extends BaseService {
  root = window.apiPath + '/msg-groups';
  search (query) {
    return super.search(query).then(res => {
      return res
    })
  }

  create (entity){
    return super.create(entity).then(res => {
      return res
    })
  }

}

export default new MsgGroupsService()
